﻿#pragma once
#ifndef TimeStamp_hpp
#define TimeStamp_hpp

#include<chrono>


namespace MMF{

    class TimeStamp
    {
    public:

        //微秒时间戳
        static inline std::chrono::microseconds GetUsTime()     
        {
            auto now = std::chrono::high_resolution_clock::now();
			return std::chrono::duration_cast<std::chrono::microseconds>(now.time_since_epoch());
        }
    };
}


#endif

